package com.wuhao.shootclient.adapter;


import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.wuhao.shootclient.R;

import java.text.SimpleDateFormat;
import java.util.List;

public class ToaAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    private SimpleDateFormat myLogSdf = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss");// 日志的输出格式
    public ToaAdapter(@Nullable List<String> data) {
        super(R.layout.item_blue_dialog, data);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_blue_name, item);
    }
}
